package cn.Mapper;

import cn.entity.Product;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HeaderMapper {
    //头部分类
    public List<Product> findAllProductByCid(Integer cid);
    //主页搜索
    public List<Product> FindAllProductByPname(String pname);
}
